package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 阿宾
 * Date: 2024-06-05
 * Time: 16:41
 */

interface A{
    void testA();
}
interface B{
    void testB();
}
interface C extends A,B{
    //接口之间的继承
    //即接口D具备了接口A B的功能，同时有自己的功能
    void testC();
}
public class Test implements C {

    @Override
    public void testA() {

    }

    @Override
    public void testB() {

    }

    @Override
    public void testC() {

    }
}
